package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单位分类管理对象 unit_category_management
 *
 * @author ruoyi
 * @date 2025-05-29
 */
public class UnitCategoryManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;

    /** 分类编号 */
    @Excel(name = "分类编号")
    private String categoryCode;

    /** 单位数，默认为0，用于记录该分类下的单位数量 */
    @Excel(name = "单位数，默认为0，用于记录该分类下的单位数量")
    private Long unitCount;

    /** 状态，默认为正常 */
    @Excel(name = "状态，默认为正常")
    private String status;

    /** 排序字段，用于控制分类在界面上的显示顺序 */
    @Excel(name = "排序字段，用于控制分类在界面上的显示顺序")
    private Long sortOrder;

    /** 备注信息，用于记录分类的额外说明 */
    @Excel(name = "备注信息，用于记录分类的额外说明")
    private String notes;

    /** 描述信息，用于详细描述分类的内容或用途 */
    @Excel(name = "描述信息，用于详细描述分类的内容或用途")
    private String description;

    /** 顺序，如果与sort_order不同，可用于其他自定义排序逻辑 */
    @Excel(name = "顺序，如果与sort_order不同，可用于其他自定义排序逻辑")
    private Long sequence;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setCategoryName(String categoryName)
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName()
    {
        return categoryName;
    }

    public void setCategoryCode(String categoryCode)
    {
        this.categoryCode = categoryCode;
    }

    public String getCategoryCode()
    {
        return categoryCode;
    }

    public void setUnitCount(Long unitCount)
    {
        this.unitCount = unitCount;
    }

    public Long getUnitCount()
    {
        return unitCount;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setSortOrder(Long sortOrder)
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder()
    {
        return sortOrder;
    }

    public void setNotes(String notes)
    {
        this.notes = notes;
    }

    public String getNotes()
    {
        return notes;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }

    public void setSequence(Long sequence)
    {
        this.sequence = sequence;
    }

    public Long getSequence()
    {
        return sequence;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("categoryName", getCategoryName())
                .append("categoryCode", getCategoryCode())
                .append("unitCount", getUnitCount())
                .append("status", getStatus())
                .append("sortOrder", getSortOrder())
                .append("notes", getNotes())
                .append("description", getDescription())
                .append("sequence", getSequence())
                .append("phone", getPhone())
                .toString();
    }
}
